﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="myprofile.aspx.vb" Inherits="prototype.myprofile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
    .style1
    {
        font-size: x-large;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <br />
    </p>
    <p class="style1">
        <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Member Profile 
        !</strong></p>
<p>
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/AllMembers.aspx">Go Back</asp:HyperLink>
    </p><center>
<p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            CellPadding="4" DataSourceID="SqlDataSource1" ForeColor="#333333" 
            GridLines="None" Height="369px" style="margin-top: 0px" Width="872px" 
            DataKeyNames="UserID">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:ImageField DataImageUrlField="picture" HeaderText="Picture">
                    <ControlStyle Height="300px" Width="322px" />
                </asp:ImageField>
                <asp:BoundField DataField="firstname" HeaderText="Name" 
                    SortExpression="firstname" />
                <asp:BoundField DataField="lastname" HeaderText="Last Name" 
                    SortExpression="lastname" />
                <asp:BoundField DataField="dateofbirth" HeaderText="D.O.B" 
                    SortExpression="dateofbirth" />
                <asp:BoundField DataField="registrationdate" HeaderText="Member Since" 
                    SortExpression="registrationdate" />
                <asp:BoundField DataField="Town" HeaderText="Town" SortExpression="Town" />
                <asp:BoundField DataField="Practice" HeaderText="Practice" 
                    SortExpression="Practice" />
                <asp:BoundField DataField="gender" HeaderText="Gender" 
                    SortExpression="gender" />
                <asp:BoundField DataField="remark" HeaderText="About me" 
                    SortExpression="remark" />
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:PlayersConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:PlayersConnectionString.ProviderName %>" 
            SelectCommand="SELECT * FROM [Userprofile] WHERE ([UserID] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="UserID" QueryStringField="UserID" 
                    Type="String" />
            </SelectParameters>
        </asp:SqlDataSource>
    </p></center>
    <p>
    </p>
</asp:Content>
